package com.trip.wechat.platform.service;

import com.trip.wechat.platform.model.user.UserBO;
import com.trip.wechat.platform.model.user.UserList;

/**
 * 功能说明: <br>
 * 系统说明: <br>
 * 模块说明: <br>
 * 功能描述: <br>
 * <br>
 */
public interface UserService {

    void fetchAndSync(String publicKey);

    void submitTask(UserList userList);

    void syncUserInfo(UserBO user);

    void scan();

    /**
     * 根据公众号和openid查询微信用户信息
     * @param publicKey
     * @param openid
     * @return
     */
    UserBO queryUserInfoByOpenidFromDB(String publicKey, String openid);
}
